/**
 * @description 笔记操作
 */
import { useCreateLarkFolderNote } from './createLarkFolderNote';
import { useGetLarkBlocks } from './getLarkBlocks';
import { useGetChildren } from './getChildren';
import { useGetLarkChildren } from './getLarkChildren';

export function useNote() {
  const { createLarkFolderNote } = useCreateLarkFolderNote();
  const { getLarkBlocks } = useGetLarkBlocks();
  const { getChildren } = useGetChildren();
  const { getLarkChildren } = useGetLarkChildren();

  return { note: { createLarkFolderNote, getLarkBlocks, getChildren, getLarkChildren } };
}
